package com.thjk.bdf.system.service.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * 
 * @创建日期： 2020年1月13日
 * @author 史继光
 * @Description：大数金融基本配置信息
 */
@Component
public class BdFConfig {
	/**
	 * 获取token的url
	 */
	@Value("${bd.getToken.url}")
	private String getTokenUrl;
	/**
	 * 获取token的channel
	 */
	@Value("${bd.getToken.channel}")
	private String channel;
	/**
	 * 获取token的appKey
	 */
	@Value("${bd.getToken.appKey}")
	private String appKey;
	/**
	 * 获取token的secretKey
	 */
	@Value("${bd.getToken.secretKey}")
	private String secretKey;
	/**
	 * 订单查询url
	 */
	@Value("${bd.orderQuery.url}")
	private String orderQueryUrl;
	/**
	 * token 失效时间
	 */
	@Value("${bd.token.outTime}")
	private Long tokenOutTime;
	
	public String getGetTokenUrl() {
		return getTokenUrl;
	}
	public void setGetTokenUrl(String getTokenUrl) {
		this.getTokenUrl = getTokenUrl;
	}
	public String getChannel() {
		return channel;
	}
	public void setChannel(String channel) {
		this.channel = channel;
	}
	public String getAppKey() {
		return appKey;
	}
	public void setAppKey(String appKey) {
		this.appKey = appKey;
	}
	public String getSecretKey() {
		return secretKey;
	}
	public void setSecretKey(String secretKey) {
		this.secretKey = secretKey;
	}
	public String getOrderQueryUrl() {
		return orderQueryUrl;
	}
	public void setOrderQueryUrl(String orderQueryUrl) {
		this.orderQueryUrl = orderQueryUrl;
	}
	public Long getTokenOutTime() {
		return tokenOutTime;
	}
	public void setTokenOutTime(Long tokenOutTime) {
		this.tokenOutTime = tokenOutTime;
	}
	
}
